import Layout from '@/layout'

const financialRouter = {
    path: '/financial/receivables',
    component: Layout,
    redirect: 'noRedirect',
    name: 'financial',
    alwaysShow: true,
    hidden:false,
    meta: {
        title: '财务管理',
        abbre: '财务',
        icon: 'left_menu_financial',
        navigation:'/financial',
        id: '407'
    },
    children: [{
        path: '/financial/receivables',
        component: () =>
            import ('@/views/financial/financialReceivables'),
        name: 'financial_receivables',
        hidden:false,
        meta: { title: '商户结算', noCache: true,  navigation:'/financial/receivables', icon: 'menu_big_data'}
    },{
        path: '/financial/receivables/see/:id',
        component: () =>
            import ('@/views/financial/financialReceivables_see'),
        name: 'financial_receivables_see',
        hidden:true,
        meta: { title: '查看', bread: "商户结算,查看", noCache: true,  navigation:'/financial/receivables', icon: 'menu_big_data'}
    },{
        path: '/financial/receivables/record/:id',
        component: () =>
            import ('@/views/financial/financialReceivables_record'),
        name: 'financial_receivables_record',
        hidden:true,
        meta: { title: '对账', bread: "商户结算,对账", noCache: true,  navigation:'/financial/receivables', icon: 'menu_big_data'}
    },{
        path: '/financial/receivables/batchrecord',
        component: () =>
            import ('@/views/financial/financialReceivables_batchrecord'),
        name: 'financial_receivables_batchrecord',
        hidden:true,
        meta: { title: '批量对账', bread: "商户结算,批量对账", noCache: true,  navigation:'/financial/receivables', icon: 'menu_big_data'}
    },{
        path: '/financial/payment',
        component: () =>
            import ('@/views/financial/financialPayment'),
        name: 'financial_payment',
        hidden:false,
        meta: { title: '商户结算列表', noCache: true,  navigation:'/financial/payment', icon: 'menu_big_data'}
    },{
        path: '/financial/salesman',
        component: () =>
            import ('@/views/financial/financialSalesman'),
        name: 'financial_salesman',
        hidden:false,
        meta: { title: '商户差额', noCache: true,  navigation:'/financial/salesman', icon: 'menu_big_data'}
    },{
        path: '/financial/salesman/flowing',
        component: () =>
            import ('@/views/financial/financialSalesman_flowing'),
        name: 'financial_salesman_flowing',
        hidden:true,
        meta: { title: '差额流水', bread: "商户差额,差额流水", noCache: true,  navigation:'/financial/salesman', icon: 'menu_big_data'}
    },{
        path: '/financial/recharge',
        component: () =>
            import ('@/views/financial/financialRecharge'),
        name: 'financial_recharge',
        hidden:false,
        meta: { title: '采购结算', noCache: true,  navigation:'/financial/recharge', icon: 'menu_big_data'}
    },{
        path: '/financial/recharge/see/:id',
        component: () =>
            import ('@/views/financial/financialRecharge_see'),
        name: 'financial_recharge_see',
        hidden:true,
        meta: { title: '查看', bread: "采购结算,查看", noCache: true,  navigation:'/financial/recharge', icon: 'menu_big_data'}
    },{
        path: '/financial/recharge/record/:id',
        component: () =>
            import ('@/views/financial/financialRecharge_record'),
        name: 'financial_recharge_record',
        hidden:true,
        meta: { title: '对账', bread: "采购结算,对账", noCache: true,  navigation:'/financial/recharge', icon: 'menu_big_data'}
    },{
        path: '/financial/red',
        component: () =>
            import ('@/views/financial/financialRed'),
        name: 'financial_red',
        hidden:false,
        meta: { title: '采购结算列表', noCache: true,  navigation:'/financial/red', icon: 'menu_big_data'}
    },{
        path: '/financial/red/detail',
        component: () =>
            import ('@/views/financial/financialRed_detail'),
        name: 'financial_red_detail',
        hidden:true,
        meta: { title: '结算明细', bread: "结算列表,结算明细", noCache: true,  navigation:'/financial/red', icon: 'menu_big_data'}
    },{
        path: '/financial/red/see/:id',
        component: () =>
            import ('@/views/financial/financialRed_see'),
        name: 'financial_red_see',
        hidden:true,
        meta: { title: '查看', bread: "结算列表,查看", noCache: true,  navigation:'/financial/red', icon: 'menu_big_data'}
    },{
        path: '/financial/pre',
        component: () =>
            import ('@/views/financial/financialPre'),
        name: 'financial_pre',
        hidden:false,
        meta: { title: '采购总账', noCache: true,  navigation:'/financial/pre', icon: 'menu_big_data'}
    }]
}

export default financialRouter